Telegram Group & Telegram Channel
Какие типы можно использовать в предложении foreach?

Можно использовать типы, которые реализуют интерфейс IEnumerable или IEnumerable<T>.
Либо же к любым типам которые удовлетворяют следующим условиям:

• Включают открытый метод GetEnumerator без параметров с классом, структурой или тип интерфейсом в качестве возвращаемого значения;
• Тип возвращаемого значения метода GetEnumerator должен содержать открытое свойство Current и открытый метод MoveNext без параметров с типом возвращаемого значения Boolean.


Библиотека собеса по С#



tg-me.com/csharp_interview_lib/686
Create:
Last Update:

Какие типы можно использовать в предложении foreach?

Можно использовать типы, которые реализуют интерфейс IEnumerable или IEnumerable<T>.
Либо же к любым типам которые удовлетворяют следующим условиям:

• Включают открытый метод GetEnumerator без параметров с классом, структурой или тип интерфейсом в качестве возвращаемого значения;
• Тип возвращаемого значения метода GetEnumerator должен содержать открытое свойство Current и открытый метод MoveNext без параметров с типом возвращаемого значения Boolean.


Библиотека собеса по С#

BY Библиотека собеса по C# | вопросы с собеседований


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/csharp_interview_lib/686

View MORE
Open in Telegram


Библиотека собеса по C | вопросы с собеседований Telegram | DID YOU KNOW?

Date: |

Telegram Be The Next Best SPAC

I have no inside knowledge of a potential stock listing of the popular anti-Whatsapp messaging app, Telegram. But I know this much, judging by most people I talk to, especially crypto investors, if Telegram ever went public, people would gobble it up. I know I would. I’m waiting for it. So is Sergei Sergienko, who claims he owns $800,000 of Telegram’s pre-initial coin offering (ICO) tokens. “If Telegram does a SPAC IPO, there would be demand for this issue. It would probably outstrip the interest we saw during the ICO. Why? Because as of right now Telegram looks like a liberal application that can accept anyone - right after WhatsApp and others have turn on the censorship,” he says.

The S&P 500 slumped 1.8% on Monday and Tuesday, thanks to China Evergrande, the Chinese property company that looks like it is ready to default on its more-than $300 billion in debt. Cries of the next Lehman Brothers—or maybe the next Silverado?—echoed through the canyons of Wall Street as investors prepared for the worst.

Библиотека собеса по C | вопросы с собеседований from ca


Telegram Библиотека собеса по C# | вопросы с собеседований
FROM USA